<?php
namespace app\admin\model;

use think\Model;

class ReggovernmentModel extends Model{
    // 确定链接表名
    protected $name = 'users_government';

	public function getListRows($where,$offset,$limit){
		return $this->where($where)->where($this->WhereCansee())->limit($offset,$limit)->select();
	}

	public function getCount($where){
		return $this->where($where)->where($this->WhereCansee())->count();
	}
}
